#! /usr/bin/fish

mv outtime outtime.bak

echo "run np from 1 to 100"

for i in (seq 1 10 200)
	echo "running np = $i"
	set runtime (/usr/lib64/openmpi/bin/mpiexec -np $i ./build/build 2> /dev/null)
	echo $runtime >> outtime
end
